<%--
  Created by IntelliJ IDEA.
  User: 62585
  Date: 2021/4/1
  Time: 17:05
  To change this template use File | Settings | File Templates.
--%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>JQuery i18n</title>
</head>
<body>
<%--1 使用标签设置 Locale 信息--%>
<fmt:setLocale value="<%=request.getLocale()%>"/>
<%--2 使用标签设置 baseName--%>
<fmt:setBundle basename="i18n"/>

<h1><fmt:message key="username"/></h1>
<h1><fmt:message key="password"/></h1>

</body>
</html>
